package com.发布订阅模式.第二种实现方式;

import lombok.Data;

/**
 * @className: MyGuardian
 * @description: 土地公公实体类
 * @author: cheetah
 * @date: 2021/11/29 17:07
 * @Version: 1.0
 */
@Data
public class MyGuardian {

    public static void appear(){
        System.out.println("土地公公出现了");
    }

    public static void seclusion(){
        System.out.println("土地公公遁地了");
    }
}
